package de.doegel.common.widget;

import greendroid.widget.item.TextItem;
import greendroid.widget.itemview.ItemView;
import android.content.Context;
import android.view.ViewGroup;
import de.doegel.common.R;

public class HeadedContactItem extends TextItem {

    public String headerText;
    
    public HeadedContactItem(String text) {
        super(text);
    }

    @Override
    public ItemView newView(Context context, ViewGroup parent) {
        return createCellFromXml(context, R.layout.contact_item, parent);
    }
    
    public String toString() {
    	return text;
    }
}
